package character.point.model;

import main.gui.dataobjecteditor.DataObjectEditor;
import data.EditorObject;

public class CharacterPoint extends EditorObject {

	// Data object attributes
	private String name;
	private int defaultValue, min, max;
	
	/**
	 * Default constructor.
	 */
	public CharacterPoint(String name, int defaultValue, int min, int max) {
		super();
		this.name = name;
		this.defaultValue = defaultValue;
		this.min = min;
		this.max = max;
	}

	@Override
	public void init() {
		
	}

	@Override
	protected void initDefaultData() {
		defaults.put("name", "New Character Point");
		defaults.put("default_value", 1);
		defaults.put("min", 1);
		defaults.put("max", 10);
	}

	@Override
	public DataObjectEditor buildDataObjectEditor() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public DataObjectEditor buildReferenceDataAttributePanel() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean validateValue(String attrName, Object value) {
		// TODO Auto-generated method stub
		return false;
	}
	
}
